{# 继承父类模板 #}
{% extends 'templates/LR/base.html' %}
{% load static %}

{# 重写模块，定义页面个性化内容 #}
{% block header %}
    {% include 'templates/LR/header.html' %}
{% endblock %}

{% block link %}
    <link rel="stylesheet" href="{% static 'css/chat/create_post.css' %}">
{% endblock %}

{% block main %}
    <form method="post" enctype="multipart/form-data">
    {% csrf_token %}
    <ul class="form_box">
        {{ form.as_ul }}
        <li>
            <input type="submit" value="立即发布" class="submit-btn"/>
        </li>
    </ul>
    </form>
{% endblock %}